package com.prp.interfaces;

import java.util.List;

import com.prp.dao.Userinfo;

public interface IUserManage {
	
	public boolean login(String username , String password);
	
	public boolean findPassword(String username , String email);
	
	public boolean registerUser(Userinfo userinfo);
	
	public boolean checkIsAvailable(Userinfo userinfo);
					
	public boolean validateUser(String username,String key,String date);
	
	public Userinfo getUser(String username);
	
	public Userinfo getUserByEmail(String email);
	
	public boolean changePassword(String username, String password);
	
	public String getLoginUserName();
		
	//public boolean forgetChangePassword(String user, String key, String date);
	
}
